package com.gaoyi.crm.adapter;

import android.content.Context;

import com.gaoyi.crm.BR;
import com.gaoyi.crm.R;
import com.gaoyi.crm.adapter.base.BaseDtoAdapter;
import com.gaoyi.crm.adapter.base.BaseViewHolder;
import com.gaoyi.crm.databinding.RvSyncedCusBinding;
import com.gaoyi.crm.db.dto.SyncedCustomerDto;

public class SyncedCusAdapter extends BaseDtoAdapter<RvSyncedCusBinding, SyncedCustomerDto> {


    public SyncedCusAdapter(Context context) {
        super(context);
    }

    @Override
    protected void setBindingVariable(RvSyncedCusBinding binding) {
        binding.setVariable(BR.format, "yyyy/MM/dd");
    }

    @Override
    protected void onBindItem(RvSyncedCusBinding binding, SyncedCustomerDto item, int position) {
    }

    @Override
    protected void onCreateView(RvSyncedCusBinding binding, BaseViewHolder holder) {

    }

    @Override
    protected int getLayoutResId() {
        return R.layout.rv_synced_cus;
    }
}
